sudo pip install cython
pip install matplotlib
git clone https://github.com/cocodataset/cocoapi.git 
cd cocoapi
cd PythonAPI
## Install into global site-packages
#sudo make install
## Alternatively, if you do not have permissions or prefer
## not to install the COCO API into global site-packages
python2 setup.py install --user
